{if $div == ""} {$div = "header"} {/if}

<div id="{$div}">
	{$mainMenu}
	{$subMenu}
	{$message} - Current language: {$currentLanguage} - {$logoutLink}
	
	{foreach from=$languageLinks item=link key=key}
		- <a href="{$link}">{$key}</a> -
	{/foreach}
	{if $flash != ""}
		<br />
		<b><font color="Red">{$flash}</font></b>
	{/if}
</div>